﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;

namespace Mota
{
    public partial class help : PhoneApplicationPage
    {
        public help()
        {
            InitializeComponent();
            WebSetting();
        }

        /// <summary>
        /// 回前一頁，onclick Event
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Back_Click(object sender, RoutedEventArgs e)
        {
            ((PhoneApplicationFrame)Application.Current.RootVisual).Content = new MainPage();        // new page            
        }

        /// <summary>
        /// WebBroswer setting 
        /// </summary>
        void WebSetting()
        {
            HelpWeb.Source = new Uri("http://mota.taipei.gov.tw/Intro/MotaHelp.html");
            
        }
    }
}
